package com.woniuxy.service;


import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.OperationLog;


import java.util.Map;

public interface OperationLogService {
    //分页显示
//    PageBean<OperationLog> findPage(int page, int size);

    /**
     * 分页查询
     * @param pageNum 当前页
     * @param pageSize 每页大小
     * @return 分页对象
     */
    PageInfo<OperationLog> findPage(Map<String,Object> condition, int pageNum, int pageSize);
    //增加日志
    int addOperationLog(OperationLog operationLog);

    //方法名查找日志
    OperationLog findByName(String methodName);
    /**
     * 批量删除
     */
    int deleteBatch(String[] ids);

    /**
     * 多条件查询
     * * @param condition
     * * @param page
     * * @param size
     */
//    PageBean<OperationLog> findByCondition(Map<String,Object> condition, int page, int size);
}
